package com.study;

import java.util.UUID;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.CountDownLatch;

public class CountDownLatchTest3A {

    public static void main(String[] args) throws InterruptedException {
        String tmp = "WorkerUuidCount worker#num = new WorkerUuidCount(\"#num\", (long)(Math.random() * 10000), countDownLatch);";
        int index = 0;
        while (index < 200){
            String tmp2 = new String(tmp).replace("#num", String.valueOf(index));
            System.out.println(tmp2);
            index++;
        }
    }
}